#ifndef __REFRESH_DATA_H
#define __REFRESH_DATA_H

#include "esp_log.h"
#include "esp_wifi.h"
#include "esp_event.h"
// #include "../components/wifi/include/user_wifi.h"
#include "wifi/include/user_wifi.h"
#include "../components/lvgl/src/extra/others/msg/lv_msg.h"


extern int refr_all;
typedef enum 
{
    REFRESH_WEATHER_MAIN_TIME,//时间
    REFRESH_WEATHER_MAIN_DATA,
    REFRESH_WEATHER_NULL,
}_refresh_sta_t;




void time_Refresh(void *param);
void Refresh_DataSwitch(uint8_t nowSta);

#endif
